Skip to content

zNPCTypePrawn#611

Merged
JoshSanch merged 10 commits intobfbbdecomp:mainfrom
LSLees:zNPCTPrawn
Oct 14, 2025
Merged

zNPCTypePrawn#611
JoshSanch merged 10 commits intobfbbdecomp:mainfrom
LSLees:zNPCTPrawn

Conversation

@LSLees
Copy link
Contributor

@LSLees LSLees commented Oct 12, 2025

television struct, most of parseini, few other small functions

@github-actions
Copy link

🆗 ✅

+4386 bytes
🆗 Bot Rating: Amazing contribution, you are the decomp GOAT 🐐

No Regressions 🎉

Progress: 27

📈 main/SB/Game/zNPCTypePrawn - .text +2292 bytes -> 24.57%
📈 main/SB/Game/zNPCTypePrawn - .rodata +1306 bytes -> 59.51%
📈 main/SB/Game/zNPCTypePrawn - .bss +628 bytes -> 58.70%
📈 main/SB/Game/zNPCTypePrawn - .data +10 bytes -> 57.32%
📈 main/SB/Game/zNPCTypePrawn - .text +56 bytes -> 20.87%
📈 main/SB/Game/zNPCTypePrawn - .sdata2 +94 bytes -> 66.45%
📈 main/SB/Game/zNPCTypePrawn - zNPCPrawn::ParseINI() +952 bytes -> 35.36%
📈 main/SB/Game/zNPCTypePrawn - @unnamed@zNPCTypePrawn_cpp@::tweak_group::register_tweaks(bool, xModelAssetParam*, unsigned int, const char*) +840 bytes -> 60.34%
📈 main/SB/Game/zNPCTypePrawn - @unnamed@zNPCTypePrawn_cpp@::television::create(int, int) +4 bytes -> 0.75%
📈 main/SB/Game/zNPCTypePrawn - @unnamed@zNPCTypePrawn_cpp@::television::update(xModelInstance&, xLightKit*) +4 bytes -> 1.33%
📈 main/SB/Game/zNPCTypePrawn - @unnamed@zNPCTypePrawn_cpp@::init_sound() +4 bytes -> 1.47%
📈 main/SB/Game/zNPCTypePrawn - @unnamed@zNPCTypePrawn_cpp@::television::render_background() +40 bytes -> 16.67%
📈 main/SB/Game/zNPCTypePrawn - zNPCPrawn::Init(xEntAsset*) +148 bytes -> 78.72%
📈 main/SB/Game/zNPCTypePrawn - @unnamed@zNPCTypePrawn_cpp@::television::destroy() +4 bytes -> 2.27%
📈 main/SB/Game/zNPCTypePrawn - @unnamed@zNPCTypePrawn_cpp@::television::set_model_texture(xModelInstance&) +4 bytes -> 2.78%
📈 main/SB/Game/zNPCTypePrawn - @unnamed@zNPCTypePrawn_cpp@::television::move(const xVec3&, const xVec3&) +16 bytes -> 11.76%
main/SB/Game/zNPCTypePrawn - aqua_beam::load(const aqua_beam::config&, unsigned int) +84 bytes -> 100.00%
📈 main/SB/Game/zNPCTypePrawn - aqua_beam::load(const aqua_beam::config&, RpAtomic&) +4 bytes -> 7.14%
main/SB/Game/zNPCTypePrawn - @unnamed@zNPCTypePrawn_cpp@::tweak_group::load(xModelAssetParam*, unsigned int) +48 bytes -> 100.00%
main/SB/Game/zNPCTypePrawn - @unnamed@zNPCTypePrawn_cpp@::television::set_vert(rwGameCube2DVertex&, float, float, float, float) +48 bytes -> 100.00%
main/SB/Game/zNPCTypePrawn - @unnamed@zNPCTypePrawn_cpp@::television::set_background(iColor_tag) +44 bytes -> 100.00%
main/SB/Game/zNPCTypePrawn - zNPCPrawn::Destroy() +44 bytes -> 100.00%
📈 main/SB/Game/zNPCTypePrawn - zNPCPrawn::IsAlive() +16 bytes -> 80.00%
main/SB/Game/zNPCTypePrawn - zNPCPrawn::get_center() const +16 bytes -> 100.00%
main/SB/Game/zNPCTypePrawn - zNPCPrawn::get_facing() const +16 bytes -> 100.00%
main/SB/Game/zNPCTypePrawn - zNPCPrawn::ColChkFlags() const +8 bytes -> 100.00%
main/SB/Game/zNPCTypePrawn - @unnamed@zNPCTypePrawn_cpp@::television::render_static() +4 bytes -> 100.00%

@github-actions
Copy link

⚠️ 🔥

+4406 bytes
🆗 Bot Rating: Amazing contribution, you are the decomp GOAT 🐐

Regressions: 7

⚠️ main/SB/Core/gc/iCollide - .text -1632 bytes -> 65.17%
⚠️ main/SB/Core/gc/iCollide - iSphereHitsModel3(const xSphere*, const xModelInstance*, xCollis*, unsigned char, float) -203 bytes -> 70.00%
⚠️ main/SB/Core/gc/iCollide - iRayHitsEnv(const xRay3*, const xEnv*, xCollis*) -436 bytes -> 0.00%
⚠️ main/SB/Core/gc/iCollide - iRayHitsModel(const xRay3*, const xModelInstance*, xCollis*) -424 bytes -> 0.00%
⚠️ main/SB/Core/gc/iCollide - iSphereForModel(xSphere*, const xModelInstance*) -208 bytes -> 0.00%
⚠️ main/SB/Core/gc/iCollide - iBoxForModel(xBox*, const xModelInstance*) -88 bytes -> 0.00%
⚠️ main/SB/Core/gc/iCollide - iBoxForModelLocal(xBox*, const xModelInstance*) -272 bytes -> 0.00%

Progress: 27

📈 main/SB/Game/zNPCTypePrawn - .text +2292 bytes -> 24.57%
📈 main/SB/Game/zNPCTypePrawn - .rodata +1306 bytes -> 59.51%
📈 main/SB/Game/zNPCTypePrawn - .bss +648 bytes -> 60.25%
📈 main/SB/Game/zNPCTypePrawn - .data +10 bytes -> 57.32%
📈 main/SB/Game/zNPCTypePrawn - .text +56 bytes -> 20.87%
📈 main/SB/Game/zNPCTypePrawn - .sdata2 +94 bytes -> 66.45%
📈 main/SB/Game/zNPCTypePrawn - zNPCPrawn::ParseINI() +952 bytes -> 35.36%
📈 main/SB/Game/zNPCTypePrawn - @unnamed@zNPCTypePrawn_cpp@::tweak_group::register_tweaks(bool, xModelAssetParam*, unsigned int, const char*) +840 bytes -> 60.34%
📈 main/SB/Game/zNPCTypePrawn - @unnamed@zNPCTypePrawn_cpp@::television::create(int, int) +4 bytes -> 0.75%
📈 main/SB/Game/zNPCTypePrawn - @unnamed@zNPCTypePrawn_cpp@::television::update(xModelInstance&, xLightKit*) +4 bytes -> 1.33%
📈 main/SB/Game/zNPCTypePrawn - @unnamed@zNPCTypePrawn_cpp@::init_sound() +4 bytes -> 1.47%
📈 main/SB/Game/zNPCTypePrawn - @unnamed@zNPCTypePrawn_cpp@::television::render_background() +40 bytes -> 16.67%
📈 main/SB/Game/zNPCTypePrawn - zNPCPrawn::Init(xEntAsset*) +148 bytes -> 78.72%
📈 main/SB/Game/zNPCTypePrawn - @unnamed@zNPCTypePrawn_cpp@::television::destroy() +4 bytes -> 2.27%
📈 main/SB/Game/zNPCTypePrawn - @unnamed@zNPCTypePrawn_cpp@::television::set_model_texture(xModelInstance&) +4 bytes -> 2.78%
📈 main/SB/Game/zNPCTypePrawn - @unnamed@zNPCTypePrawn_cpp@::television::move(const xVec3&, const xVec3&) +16 bytes -> 11.76%
main/SB/Game/zNPCTypePrawn - aqua_beam::load(const aqua_beam::config&, unsigned int) +84 bytes -> 100.00%
📈 main/SB/Game/zNPCTypePrawn - aqua_beam::load(const aqua_beam::config&, RpAtomic&) +4 bytes -> 7.14%
main/SB/Game/zNPCTypePrawn - @unnamed@zNPCTypePrawn_cpp@::tweak_group::load(xModelAssetParam*, unsigned int) +48 bytes -> 100.00%
main/SB/Game/zNPCTypePrawn - @unnamed@zNPCTypePrawn_cpp@::television::set_vert(rwGameCube2DVertex&, float, float, float, float) +48 bytes -> 100.00%
main/SB/Game/zNPCTypePrawn - @unnamed@zNPCTypePrawn_cpp@::television::set_background(iColor_tag) +44 bytes -> 100.00%
main/SB/Game/zNPCTypePrawn - zNPCPrawn::Destroy() +44 bytes -> 100.00%
📈 main/SB/Game/zNPCTypePrawn - zNPCPrawn::IsAlive() +16 bytes -> 80.00%
main/SB/Game/zNPCTypePrawn - zNPCPrawn::get_center() const +16 bytes -> 100.00%
main/SB/Game/zNPCTypePrawn - zNPCPrawn::get_facing() const +16 bytes -> 100.00%
main/SB/Game/zNPCTypePrawn - zNPCPrawn::ColChkFlags() const +8 bytes -> 100.00%
main/SB/Game/zNPCTypePrawn - @unnamed@zNPCTypePrawn_cpp@::television::render_static() +4 bytes -> 100.00%

@github-actions
Copy link

🆗 ✅

+4406 bytes
🆗 Bot Rating: Amazing contribution, you are the decomp GOAT 🐐

No Regressions 🎉

Progress: 27

📈 main/SB/Game/zNPCTypePrawn - .text +2292 bytes -> 24.57%
📈 main/SB/Game/zNPCTypePrawn - .rodata +1306 bytes -> 59.51%
📈 main/SB/Game/zNPCTypePrawn - .bss +648 bytes -> 60.25%
📈 main/SB/Game/zNPCTypePrawn - .data +10 bytes -> 57.32%
📈 main/SB/Game/zNPCTypePrawn - .text +56 bytes -> 20.87%
📈 main/SB/Game/zNPCTypePrawn - .sdata2 +94 bytes -> 66.45%
📈 main/SB/Game/zNPCTypePrawn - zNPCPrawn::ParseINI() +952 bytes -> 35.36%
📈 main/SB/Game/zNPCTypePrawn - @unnamed@zNPCTypePrawn_cpp@::tweak_group::register_tweaks(bool, xModelAssetParam*, unsigned int, const char*) +840 bytes -> 60.34%
📈 main/SB/Game/zNPCTypePrawn - @unnamed@zNPCTypePrawn_cpp@::television::create(int, int) +4 bytes -> 0.75%
📈 main/SB/Game/zNPCTypePrawn - @unnamed@zNPCTypePrawn_cpp@::television::update(xModelInstance&, xLightKit*) +4 bytes -> 1.33%
📈 main/SB/Game/zNPCTypePrawn - @unnamed@zNPCTypePrawn_cpp@::init_sound() +4 bytes -> 1.47%
📈 main/SB/Game/zNPCTypePrawn - @unnamed@zNPCTypePrawn_cpp@::television::render_background() +40 bytes -> 16.67%
📈 main/SB/Game/zNPCTypePrawn - zNPCPrawn::Init(xEntAsset*) +148 bytes -> 78.72%
📈 main/SB/Game/zNPCTypePrawn - @unnamed@zNPCTypePrawn_cpp@::television::destroy() +4 bytes -> 2.27%
📈 main/SB/Game/zNPCTypePrawn - @unnamed@zNPCTypePrawn_cpp@::television::set_model_texture(xModelInstance&) +4 bytes -> 2.78%
📈 main/SB/Game/zNPCTypePrawn - @unnamed@zNPCTypePrawn_cpp@::television::move(const xVec3&, const xVec3&) +16 bytes -> 11.76%
main/SB/Game/zNPCTypePrawn - aqua_beam::load(const aqua_beam::config&, unsigned int) +84 bytes -> 100.00%
📈 main/SB/Game/zNPCTypePrawn - aqua_beam::load(const aqua_beam::config&, RpAtomic&) +4 bytes -> 7.14%
main/SB/Game/zNPCTypePrawn - @unnamed@zNPCTypePrawn_cpp@::tweak_group::load(xModelAssetParam*, unsigned int) +48 bytes -> 100.00%
main/SB/Game/zNPCTypePrawn - @unnamed@zNPCTypePrawn_cpp@::television::set_vert(rwGameCube2DVertex&, float, float, float, float) +48 bytes -> 100.00%
main/SB/Game/zNPCTypePrawn - @unnamed@zNPCTypePrawn_cpp@::television::set_background(iColor_tag) +44 bytes -> 100.00%
main/SB/Game/zNPCTypePrawn - zNPCPrawn::Destroy() +44 bytes -> 100.00%
📈 main/SB/Game/zNPCTypePrawn - zNPCPrawn::IsAlive() +16 bytes -> 80.00%
main/SB/Game/zNPCTypePrawn - zNPCPrawn::get_center() const +16 bytes -> 100.00%
main/SB/Game/zNPCTypePrawn - zNPCPrawn::get_facing() const +16 bytes -> 100.00%
main/SB/Game/zNPCTypePrawn - zNPCPrawn::ColChkFlags() const +8 bytes -> 100.00%
main/SB/Game/zNPCTypePrawn - @unnamed@zNPCTypePrawn_cpp@::television::render_static() +4 bytes -> 100.00%

@github-actions
Copy link

🆗 ✅

+4406 bytes
🆗 Bot Rating: Amazing contribution, you are the decomp GOAT 🐐

No Regressions 🎉

Progress: 27

📈 main/SB/Game/zNPCTypePrawn - .text +2292 bytes -> 24.57%
📈 main/SB/Game/zNPCTypePrawn - .rodata +1306 bytes -> 59.51%
📈 main/SB/Game/zNPCTypePrawn - .bss +648 bytes -> 60.25%
📈 main/SB/Game/zNPCTypePrawn - .data +10 bytes -> 57.32%
📈 main/SB/Game/zNPCTypePrawn - .text +56 bytes -> 20.87%
📈 main/SB/Game/zNPCTypePrawn - .sdata2 +94 bytes -> 66.45%
📈 main/SB/Game/zNPCTypePrawn - zNPCPrawn::ParseINI() +952 bytes -> 35.36%
📈 main/SB/Game/zNPCTypePrawn - @unnamed@zNPCTypePrawn_cpp@::tweak_group::register_tweaks(bool, xModelAssetParam*, unsigned int, const char*) +840 bytes -> 60.34%
📈 main/SB/Game/zNPCTypePrawn - @unnamed@zNPCTypePrawn_cpp@::television::create(int, int) +4 bytes -> 0.75%
📈 main/SB/Game/zNPCTypePrawn - @unnamed@zNPCTypePrawn_cpp@::television::update(xModelInstance&, xLightKit*) +4 bytes -> 1.33%
📈 main/SB/Game/zNPCTypePrawn - @unnamed@zNPCTypePrawn_cpp@::init_sound() +4 bytes -> 1.47%
📈 main/SB/Game/zNPCTypePrawn - @unnamed@zNPCTypePrawn_cpp@::television::render_background() +40 bytes -> 16.67%
📈 main/SB/Game/zNPCTypePrawn - zNPCPrawn::Init(xEntAsset*) +148 bytes -> 78.72%
📈 main/SB/Game/zNPCTypePrawn - @unnamed@zNPCTypePrawn_cpp@::television::destroy() +4 bytes -> 2.27%
📈 main/SB/Game/zNPCTypePrawn - @unnamed@zNPCTypePrawn_cpp@::television::set_model_texture(xModelInstance&) +4 bytes -> 2.78%
📈 main/SB/Game/zNPCTypePrawn - @unnamed@zNPCTypePrawn_cpp@::television::move(const xVec3&, const xVec3&) +16 bytes -> 11.76%
main/SB/Game/zNPCTypePrawn - aqua_beam::load(const aqua_beam::config&, unsigned int) +84 bytes -> 100.00%
📈 main/SB/Game/zNPCTypePrawn - aqua_beam::load(const aqua_beam::config&, RpAtomic&) +4 bytes -> 7.14%
main/SB/Game/zNPCTypePrawn - @unnamed@zNPCTypePrawn_cpp@::tweak_group::load(xModelAssetParam*, unsigned int) +48 bytes -> 100.00%
main/SB/Game/zNPCTypePrawn - @unnamed@zNPCTypePrawn_cpp@::television::set_vert(rwGameCube2DVertex&, float, float, float, float) +48 bytes -> 100.00%
main/SB/Game/zNPCTypePrawn - @unnamed@zNPCTypePrawn_cpp@::television::set_background(iColor_tag) +44 bytes -> 100.00%
main/SB/Game/zNPCTypePrawn - zNPCPrawn::Destroy() +44 bytes -> 100.00%
📈 main/SB/Game/zNPCTypePrawn - zNPCPrawn::IsAlive() +16 bytes -> 80.00%
main/SB/Game/zNPCTypePrawn - zNPCPrawn::get_center() const +16 bytes -> 100.00%
main/SB/Game/zNPCTypePrawn - zNPCPrawn::get_facing() const +16 bytes -> 100.00%
main/SB/Game/zNPCTypePrawn - zNPCPrawn::ColChkFlags() const +8 bytes -> 100.00%
main/SB/Game/zNPCTypePrawn - @unnamed@zNPCTypePrawn_cpp@::television::render_static() +4 bytes -> 100.00%

Copy link
Collaborator

@JoshSanch JoshSanch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the cleanup, LGTM!

@JoshSanch JoshSanch merged commit 8ff6a5f into bfbbdecomp:main Oct 14, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants